﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administrator/EHTAdmin.Master" AutoEventWireup="true" CodeBehind="EHTMediaUI.aspx.cs" Inherits="EHTWebsiteProject.Administrator.EHTMediaUI" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MenuModulContent" runat="server">
 <div class="MenuSub-Left" >
        <table>
            <tr>
                <td> <img alt="" src="../images/EHTgiaodien/icon-add-48.jpeg" width="46px" height="46px" />&nbsp;</td>
                <td><asp:Label ID="lbAdd_Edit"  runat="server" Text="Thêm" ></asp:Label></td>
                <td><asp:Label ID="lbbannerManager" runat="server" Text="banner" ></asp:Label></td>                
            </tr>
        </table>           
    </div>
    <div class="MenuSub-Right" align="right">
        <table style="height:60px">
            <tr>                               
                <td valign="middle">
                    <div class="add-edit-del">
                            <asp:ImageButton ID="ImgSave" 
                                ImageUrl="~/images/EHTgiaodien/icon-32-revert.png" runat="server" width="32px" 
                                height="32px" class="imagboder" onclick="ImgSave_Click" />
                            <br />
                            <asp:Label ID="lbSave" runat="server" Text="Lưu"></asp:Label>
                        
                    </div>
                </td>
                <td valign="middle">
                    <div class="add-edit-del">
                            <asp:ImageButton ID="ImgApply" 
                                ImageUrl="~/images/EHTgiaodien/icon-16-checkin.png" runat="server" width="32px" 
                                height="32px" class="imagboder" onclick="ImgApply_Click" />
                            <br />
                            <asp:Label ID="lbApply" runat="server" Text="Áp dụng"></asp:Label>
                        
                    </div>
                </td>
                <td valign="middle">
                    <div class="add-edit-del">
                        <a href="EHTMedia.aspx">
                            <img alt="" src="../images/EHTgiaodien/icon-32-cancel.png" width="32px" height="32px" class="imagboder" /><br />
                            <asp:Label ID="lbCancel" runat="server" Text="Hủy"></asp:Label>
                        </a>
                    </div>
                </td>
                 <td valign="middle">
                    <div class="add-edit-del">
                        <a href="#">
                            <img alt="" src="../images/EHTgiaodien/icon-32-help.png" width="32px" height="32px" class="imagboder" /><br />
                            <asp:Label ID="lbHelp" runat="server" Text="Trợ giúp"></asp:Label>
                        </a>
                    </div>
                </td>                
            </tr>
        </table>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentMain" runat="server">
<asp:Literal ID="ltrErorr" runat="server"></asp:Literal>
    <div style="padding-top:10px">
        <table class="table" border="0" cellpadding="0" cellspacing="0" style="width:100%">
              <tr>
                <td>
                    <asp:Label ID="lbTenBaner" runat="server" Text="Tên banner"></asp:Label>
                </td>
                <th>
                    <asp:TextBox ID="txtTenBanner" CssClass="InputText" runat="server"></asp:TextBox>                    
                </th>                                                                
            </tr>
             <tr>
                <td>
                    <asp:Label ID="lbTenBannerOther" runat="server" Text="Tên banner Other"></asp:Label>
                </td>
                <th>
                    <asp:TextBox ID="txtTenBannerOther" CssClass="InputText" runat="server"></asp:TextBox>                    
                </th>                                                                
            </tr>     
              <tr>
                <td valign="bottom">
                    <asp:Label ID="lbHinhAnh" runat="server" Text="Ảnh"></asp:Label>
                </td>
                <th>
                    <div style="padding:5px 0px 5px 0px">
                        <asp:Image ID="Imgbanner" runat="server" /> 
                    </div>
                    <asp:FileUpload ID="FileUploadBanner" runat="server" CssClass="InputText"/>               
                </th>                                                                
            </tr>         
             <tr>
                <td>
                    <asp:Label ID="lbThuTu" runat="server" Text="Thứ tự"></asp:Label>
                </td>
                <th>
                   <asp:TextBox ID="txtThuTu" CssClass="ThuTu" runat="server" Text="1"></asp:TextBox>               
                </th>                                                                
            </tr>
             <tr>
                <td>
                    <asp:Label ID="lbUrl" runat="server" Text="Url"></asp:Label>
                </td>
                <th>
                   <asp:TextBox ID="txtUrl" CssClass="InputText" runat="server" Text=""></asp:TextBox>               
                </th>                                                                
            </tr>
              <tr>
                <td>
                    <asp:Label ID="lbLoaiBanner" runat="server" Text="Loại banner"></asp:Label>
                </td>
                <th>
                    <asp:DropDownList ID="ddTypeBaner" runat="server" CssClass="InputText">
                    <asp:ListItem Text="Banner Header" Value="1"></asp:ListItem>
                        <asp:ListItem Text="Slide Show" Value="2"></asp:ListItem>
                        <asp:ListItem Text="Ads" Value="3"></asp:ListItem>
                        <asp:ListItem Text="Banner Left" Value="4"></asp:ListItem>
                        <asp:ListItem Text="Banner Right" Value="5"></asp:ListItem>
                    </asp:DropDownList>
                        
                </th>                                                                
            </tr>
                 
        </table> 
    </div>
</asp:Content>
